{extend name="public/base" /}

{block name="body"}
  <div class="layui-form" lay-filter="layuiadmin-form-slider" id="layuiadmin-form-slider" style="padding: 20px 20px 0 0;">
  
	  <div class="layui-form-item">
    <div class="layui-form-item">
      <label class="layui-form-label">Tag</label>
      <div class="layui-input-inline">
        <input type="text" name="tag" lay-verify="required" placeholder="tag匹配关键词" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">Link</label>
      <div class="layui-input-inline">
        <input type="text" name="link" lay-verify="required|url" placeholder="http://链接" autocomplete="off" class="layui-input" >
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="Tag-Link-submit" id="Tag-Link-submit" value="确认">
    </div>
  </div>

{/block}
{block name="js"}  
  <script>
  layui.config({
    base: '/static/admin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
    ,form = layui.form;
	
  })
  </script>
{/block}